package com.huajiao.management_system.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

@ApiModel(value = "paperRes", description = "论文成果模型")
public class paperRes implements Serializable {
    private Integer paperResId;
    private String paperResName;
    private String paperResAuthor;
    private String paperResAuthortel;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate paperResPublishtime;
    private String paperResAdviser;
    private String paperResUrl;
    private Byte isDelete;
    private LocalDateTime updateTime;
    private LocalDateTime createTime;
    private Integer typeId;
    private String typeName;
    private Integer subtypeId;
    private String subtypeName;
    private List<prove> proves;

    public List<prove> getProves() {
        return proves;
    }

    public void setProves(List<prove> proves) {
        this.proves = proves;
    }

    public Integer getPaperResId() {
        return paperResId;
    }

    public void setPaperResId(Integer paperResId) {
        this.paperResId = paperResId;
    }

    public String getPaperResName() {
        return paperResName;
    }

    public void setPaperResName(String paperResName) {
        this.paperResName = paperResName;
    }

    public String getPaperResAuthor() {
        return paperResAuthor;
    }

    public void setPaperResAuthor(String paperResAuthor) {
        this.paperResAuthor = paperResAuthor;
    }

    public String getPaperResAuthortel() {
        return paperResAuthortel;
    }

    public void setPaperResAuthortel(String paperResAuthortel) {
        this.paperResAuthortel = paperResAuthortel;
    }

    public LocalDate getPaperResPublishtime() {
        return paperResPublishtime;
    }

    public void setPaperResPublishtime(LocalDate paperResPublishtime) {
        this.paperResPublishtime = paperResPublishtime;
    }

    public String getPaperResAdviser() {
        return paperResAdviser;
    }

    public void setPaperResAdviser(String paperResAdviser) {
        this.paperResAdviser = paperResAdviser;
    }

    public String getPaperResUrl() {
        return paperResUrl;
    }

    public void setPaperResUrl(String paperResUrl) {
        this.paperResUrl = paperResUrl;
    }

    public Byte getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Byte isDelete) {
        this.isDelete = isDelete;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public Integer getSubtypeId() {
        return subtypeId;
    }

    public void setSubtypeId(Integer subtypeId) {
        this.subtypeId = subtypeId;
    }

    public String getSubtypeName() {
        return subtypeName;
    }

    public void setSubtypeName(String subtypeName) {
        this.subtypeName = subtypeName;
    }

    @Override
    public String toString() {
        return "paperRes{" +
                "paperResId=" + paperResId +
                ", paperResName='" + paperResName + '\'' +
                ", paperResAuthor='" + paperResAuthor + '\'' +
                ", paperResAuthortel='" + paperResAuthortel + '\'' +
                ", paperResPublishtime=" + paperResPublishtime +
                ", paperResAdviser='" + paperResAdviser + '\'' +
                ", paperResUrl='" + paperResUrl + '\'' +
                ", isDelete=" + isDelete +
                ", updateTime=" + updateTime +
                ", createTime=" + createTime +
                ", typeId=" + typeId +
                ", typeName='" + typeName + '\'' +
                ", subtypeId=" + subtypeId +
                ", subtypeName='" + subtypeName + '\'' +
                ", proves=" + proves +
                '}';
    }
}
